#ifndef Writer_h__
#define Writer_h__

#include "Thread.h"
#include "Networking.h"
#include <iostream>

//Waits for the user to type a string, then sends it down a socket

class Writer : public Thread
{
public:
	
	void Set(const std::string& IP, int port);
private:
	std::string m_store;
	Networking::Socket m_sock;
	std::string m_IP;
	int m_port;
	void Work();

};
#endif // Writer_h__
